from google.appengine.ext import db

class SimpleListDB(db.Model):
  title = db.StringProperty(multiline = True)
  created = db.DateTimeProperty(auto_now_add=True)
  
class FilesDB(db.Model):
  title = db.StringProperty()
  desc = db.TextProperty()
  type = db.StringProperty()
  size = db.IntegerProperty()
  isimage = db.BooleanProperty()
  created = db.DateTimeProperty(auto_now_add=True)
  file = db.BlobProperty()

class PhoneSpyDB(db.Model):
  name = db.StringProperty()
  subject = db.StringProperty()
  content = db.TextProperty()
  created = db.DateTimeProperty(auto_now_add=True)